package online.keepon.wechatpush.controller;

import online.keepon.wechatpush.service.TemplateMsgService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author top
 */
@RestController
@RequestMapping
public class TestController {


    @Autowired
   private TemplateMsgService templateMsgService;

    @RequestMapping(value = "/test")
    public String test() {
        templateMsgService.push();
        System.out.println(templateMsgService.openIds());
        return "";
    }
}
